package com.iting.anocationdemo.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @author iting Nie
 * @version 1.1
 * @create 2021/11/25
 */

@Configuration
@ComponentScan("com.iting.anocationdemo")
@Import(MyAopAnnotationConfig.class)
public class MyConfig {

	@Bean
	public Object getObject(){
		System.out.println(11);
		return new Object();
	}

}
